package com.coca1cole.auth.infra.basic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 *
 * @author coca1cole
 * @since 2024-01-22 18:13:52
 */
@Data
@TableName("auth_user")
public class AuthUser implements Serializable {

    /**
     *
     */
    @TableId(value = "`id`", type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    @TableField("`user_name`")
    private String userName;

    /**
     *
     */
    @TableField("`nick_name`")
    private String nickName;

    /**
     *
     */
    @TableField("`email`")
    private String email;

    /**
     *
     */
    @TableField("`phone`")
    private String phone;

    /**
     *
     */
    @TableField("`password`")
    private String password;

    /**
     *
     */
    @TableField("`sex`")
    private Integer sex;

    /**
     *
     */
    @TableField("`avatar`")
    private String avatar;

    /**
     *
     */
    @TableField("`status`")
    private Integer status;

    /**
     *
     */
    @TableField("`introduce`")
    private String introduce;

    /**
     *
     */
    @TableField("`ext_json`")
    private String extJson;

    /**
     * 创建人
     */
    @TableField("`created_by`")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField("`created_time`")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField("`update_by`")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField("`update_time`")
    private Date updateTime;

    /**
     *
     */
    @TableField("`is_deleted`")
    private Integer isDeleted;

}

